#ifndef _AmbientLight_H_
#define _AmbientLight_H_

#pragma once
#include "Light.h"
class AmbientLight : public Light {
private:
	Color illuminance;

public:
	AmbientLight(const Color &illuminance, Float strength = 1.0) : illuminance(illuminance) {
		this->strength = strength;
		this->shadow = false;
	}
	~AmbientLight() {}

	LightSample L(const Scene * scene, const Vector3 &position, const Vector3 & normal) const {
		return LightSample(illuminance * strength, Vector3::Zero());
	}
};

#endif // _AmbientLight_H_